package org.jeecg.modules.charge.service.impl;

import org.jeecg.modules.charge.entity.ChargeInvoiceMangroupType;
import org.jeecg.modules.charge.mapper.ChargeInvoiceMangroupTypeMapper;
import org.jeecg.modules.charge.service.IChargeInvoiceMangroupTypeService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 票据组对应票据类型
 * @Author: jeecg-boot
 * @Date:   2019-07-08
 * @Version: V1.0
 */
@Service
public class ChargeInvoiceMangroupTypeServiceImpl extends ServiceImpl<ChargeInvoiceMangroupTypeMapper, ChargeInvoiceMangroupType> implements IChargeInvoiceMangroupTypeService {
	
	@Autowired
	private ChargeInvoiceMangroupTypeMapper chargeInvoiceMangroupTypeMapper;
	
	@Override
	public List<ChargeInvoiceMangroupType> selectByMainId(String mainId) {
		return chargeInvoiceMangroupTypeMapper.selectByMainId(mainId);
	}

	@Override
	public List<ChargeInvoiceMangroupType> selectType(String groupNum) {
		return chargeInvoiceMangroupTypeMapper.selectType(groupNum);
	}
}
